# The geographical location of the plant.

class Location < ActiveRecord::Base
  belongs_to :plant

  LOCATION_VALUES = [
  "North America",
  "South America",
  "Europe",
  "Asia",
  "Africa",
  "Australia, New Zealand",
  "Cosmopolitan",
  "tropics"
  ].freeze

  def validate
    errors.add( :connotea_uri, " is required!") if connotea_uri.blank? unless content.blank?
  end

end
